package com.example.food_contract_system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 *
 * @TableName freeze
 */
@TableName(value ="freeze")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Freeze implements Serializable {
    /**
     * 冻结表id
     */
    @TableId
    private String fId;

    /**
     * 经销商id
     */
    @JsonProperty
    private String aId;

    /**
     * 冻结描述
     */
    @JsonProperty
    private String fDesc;

    /**
     * 冻结订单
     */
    @JsonProperty
    private String oId;

    /**
     * 冻结者的id
     */
    @JsonProperty
    private String aParentId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
